package org.travel.app.controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.travel.app.common.util.IDVerificationUtil;
import org.travel.app.common.vo.ResultVO;
import org.travel.app.entity.IdVerification;

/**
 * @author nmm
 * @date 2024-12-2024/12/21
 * @deriction njm......
 */

@RestController
@RequestMapping("/verification")
public class IDVerificationController extends BaseController {

@PostMapping("/IDVerification")
public ResultVO IDVerification(@RequestBody IdVerification idVerification) {
    return success(IDVerificationUtil.testIDVerification(idVerification));
}

}